package com.ins.service;


import com.ins.model.entity.AppInfoMarket;
import com.ins.model.query.AppInfoMarketQuery;
import com.ins.model.vo.AppInfoMarketVO;
import com.ins.model.vo.RecommendVO;
import com.mybatisflex.core.paginate.Page;
import com.mybatisflex.core.service.IService;

/**
 * 信息集市 服务层。
 *
 * @author ins
 * @since 2024-05-14
 */
public interface AppInfoMarketService extends IService<AppInfoMarket> {

    /**
     * 推荐
     *
     * @return {@link RecommendVO }
     */
    RecommendVO recommend();

    /**
     * 页
     *
     * @param query 查询
     * @return {@link Page }<{@link AppInfoMarket }>
     */
    Page<AppInfoMarketVO> page(AppInfoMarketQuery query);

    /**
     * 获取详情
     *
     * @param id id
     * @return {@link AppInfoMarketVO }
     */
    AppInfoMarketVO getInfo(Long id);
}